
module.exports = appInfo => {
    const config = {}
    config.cors = {
        origin: '*', // 访问白名单,根据你自己的需要进行设置
        allowMethods: 'GET,HEAD,PUT,POST,DELETE,PATCH'
    };

    config.mongoose = {
        url: 'mongodb://10.211.55.6:27017/egg-blog',
        options: {useNewUrlParser: true}
    }
    config.keys = "dsf38vxn2091"
    return config
}